<template>
  <a-select v-model:value="modelValue" :mode="mode" :options="options" @change="handleChange">
    <slot></slot>
  </a-select>
</template>
<script setup lang="ts">

import type { IMadokaAntSelect } from "@/types/antd";

const props = withDefaults(defineProps<IMadokaAntSelect>(),{
})
const modelValue = defineModel({
  default: ""
})
const emits = defineEmits(['change'])
const handleChange = (e:any) => {
  emits("change", e)
}
</script>
<style scoped lang="scss">

</style>